package com.education.platform.api.service.impl;

import com.education.platform.dao.entity.PointsFlowDO;
import com.education.platform.dao.model.PointsFlowModel;
import org.springframework.beans.factory.annotation.Autowired;
import com.education.platform.common.service.impl.BaseServiceImpl;
import com.education.platform.dao.PointsFlowDao;
import org.springframework.stereotype.Service;
import com.education.platform.api.service.PointsFlowService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.List;

/**
* describe: 积分流水表
* @author : tomato
* @date: 2020-06-27 09:02:56.840
**/
@Service
public class PointsFlowServiceImpl extends BaseServiceImpl<PointsFlowDao,PointsFlowDO> implements PointsFlowService {

	private static final Logger LOGGER = LoggerFactory.getLogger(PointsFlowServiceImpl.class);

    @Autowired
	private PointsFlowDao pointsFlowDao;


    /**
     * 条件查询
     * @param query
     * @return
     */
    @Override
    public List<PointsFlowDO> getByCondition(PointsFlowModel query) {
        return pointsFlowDao.getByCondition(query);
    }
}
